package com.aaron.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;


@AllArgsConstructor
@Getter
@ToString
public enum RpcResponseCodeEnum {
    // 这个枚举类有两个实例。每个实例有2个属性
    SUCCESS(200, "The remote call is successful"),
    FAIL(500, "The remote call is fail");


    private final int code;
    private final String message;

}
